
<form class="layui-form layui-card" action="{:request()->url()}" data-auto="true" method="post" autocomplete="off">

    <div class="layui-card-body padding-left-20">

        <div class="layui-form-item">
            <label class="relative block">
                <span class="color-green font-w7">词汇</span>
                <input name="new_word" type="text"  required maxlength="64" placeholder="新的词汇" class="layui-input">
            </label>
        </div>

        <div class="layui-form-item text-center">
            <button class="layui-btn" type='submit'>保存数据</button>
            <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消吗？" data-close>取消</button>
        </div>
    </div>
</form>